using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using System.IO;
using System.Net.Sockets;
using System.Net;

namespace UDPPerformance
{
	public class SipherPerformance
	{
		public SipherPerformance()
		{
			/*RijndaelManaged ri = new RijndaelManaged();
			ri.GenerateKey();
			ri.GenerateIV();
			ICryptoTransform transformer = ri.CreateDecryptor();

			byte[] data = new byte[1024];
			byte[] buffer = new byte[1024];
			new Random().NextBytes(data);
			
			
			DateTime start = DateTime.Now;
			for (int x = 0; x < 100000; x++)
			{
				int count = transformer.TransformBlock(data, 0, data.Length, buffer, 0);
				socket.SendTo(buffer, 0, count, SocketFlags.None, endpoint);
			}
			Console.WriteLine((DateTime.Now - start).TotalSeconds);
			Console.ReadLine();*/
		}

		private void GenData()
		{
			
		}
	}
}
